package com.five.system.mapper;

import com.five.basic.mapper.BaseMapper;
import com.five.pojo.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    /**
     * 根据账号查询用户
     * @param account
     * @return
     */
    User queryByAccount(String account);

    /**
     * 根据登录信息id查询用户
     * @param loginInfoId
     * @return
     */
    User queryByLoginInfoId(Long loginInfoId);
}
